package com.system.service.impl;

import com.system.entity.RolePermission;
import com.system.mapper.RolePermissionMapper;
import com.system.service.RolePermissionService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author XueHeng
 * @since 2020-09-17
 */
@Service
public class RolePermissionServiceImpl extends ServiceImpl<RolePermissionMapper, RolePermission> implements RolePermissionService {

    @Override
    public List<String> getpermissionIds(String roleId) {
        return this.baseMapper.getpermissionIds(roleId);
    }
}
